package cn.mall.base.constants;

public enum CommodityTypeEnum implements Displayable{


    FORWARD("120401","轮播"),
    COMMIT("120402","评论"),
    LIKE("120403","点赞"),
//    COMMIT_LIKE("120404","评论点赞"),
    ;


    /**
     * 枚举代码
     */
    private String code;
    /**
     * 枚举显示
     */
    private String display;

    /**
     * 构造函数
     * @param code
     * @param display
     */
    CommodityTypeEnum(String code, String display) {
        this.code = code;
        this.display = display;
    }

    @Override
    public String code() {
        return this.code;
    }

    @Override
    public String display() {
        return this.display;
    }
}
